define(function(require, exports){
	var pubjs = require('pubjs');
	var base = require('@base/common/base');
	var util = require('util');

	// 选项卡 -产品
	var Product = base.tab.extend({
		init: function(config){
			config = pubjs.conf(config, {
				'async': true,	// 异步方式 -用户点击时才加载
				'uuid': util.uuid(),
				'list': {
					'product': {
						text: LANG('产品'),
						module: 'product/grid/product.base',
						config: {
							param: config.param,
							hasSearch: false,
							hasFilter: false,
							hasDateRange: true
						}
					},
					'desk': {
						text: LANG('平台'),
						module: 'productPlatform/grid/productPlatform.base',
						config: {
							param: config.param,
							hasSearch: false,
							hasFilter: false,
							hasDateRange: true
						}
					}
				}
			});
			this.Super('init', arguments);
		}
	});
	exports.base = Product;

});